package com.cq.pojo;

public class Building {
    private int Build_Id;       //楼房号
    private String build_Name;   //楼房名称
    private int room_amount;    //房间数
    private int floor_amount;   //楼层数
    private int person_amount;  //应住人数

    public Building() {
    }

    public Building(int build_Id, String build_Name, int room_amount, int floor_amount) {
        Build_Id = build_Id;
        this.build_Name = build_Name;
        this.room_amount = room_amount;
        this.floor_amount = floor_amount;
    }

    public int getBuild_Id() {
        return Build_Id;
    }

    public void setBuild_Id(int build_Id) {
        Build_Id = build_Id;
    }

    public int getRoom_amount() {
        return room_amount;
    }

    public void setRoom_amount(int room_amount) {
        this.room_amount = room_amount;
    }

    public int getFloor_amount() {
        return floor_amount;
    }

    public void setFloor_amount(int floor_amount) {
        this.floor_amount = floor_amount;
    }

    public int getPerson_amount() {
        return person_amount;
    }

    public void setPerson_amount(int person_amount) {
        this.person_amount = person_amount;
    }

    public String getBuild_Name() {
        return build_Name;
    }

    public void setBuild_Name(String build_Name) {
        this.build_Name = build_Name;
    }

    @Override
    public String toString() {
        return "Building{" +
                "Build_Id=" + Build_Id +
                ", built_Name='" + build_Name + '\'' +
                ", room_amount=" + room_amount +
                ", floor_amount=" + floor_amount +
                ", person_amount=" + person_amount +
                '}';
    }
}